<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>set_window_param [HALCON算子参考手册]</title>
<style type="text/css">
      body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.body_main {
    margin-left: 35px;
    margin-right: 35px;
}

@media screen and (min-width:992px) {

    .body_main {
        margin-left: 10%;
        margin-right: 10%;
    }

    table.toctable {
        width: 80%
    }
}

@media screen and (min-width:1400px) {

    .body_main {
        margin-left: 15%;
        margin-right: 15%;
    }

    table.toctable {
        width: 70%
    }
}

body>div ul ul {
    margin-left: inherit;
}

a:link {
    color: #0044cc;
}

a:link,
a:visited {
    text-decoration: none;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    color: #666666;
}

code {
    font-family: monospace,monospace;
}

h1 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

h2 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

hr {
    border: 0;
    border-top: solid 1px #f28d26;
}

.pre {
    display: block;
    padding-bottom: 1ex;
    font-family: monospace;
    white-space: pre;
}

pre {
    font-family: monospace, monospace;
    padding: 1ex;
    white-space: pre-wrap;
}

.toc {
    font-size: 80%;
    border-top: 1px dashed #f28d26;
    border-bottom: 1px dashed #f28d26;
    padding-top: 5px;
    padding-bottom: 5px;
}

.inv {
    margin: 0;
    border: 0;
    padding: 0;
}

.banner {
    color: #666666;
    padding-left: 1em;
}

.logo {
    background-color: white;
}

.keyboard {
    font-size: 80%;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #f28d26;
    background-color: #f3f3f3;
}

.warning {
    margin-top: 2ex;
    margin-bottom: 1ex;
    padding: 10px;
    text-align: center;
    border: 1px solid;
    color: #bb0000;
    background-color: #fff7f7
}

.imprint {
    margin-top: 1ex;
    font-size: 80%;
    color: #666666;
}

.imprinthead {
    font-weight: bolder;
    color: #666666;
}

.indexlink {
    text-align: right;
    padding-bottom: 5px;
}

.postscript {
    margin-top: 2ex;
    font-size: 80%;
    color: #666666
}

.evenrow {
    background-color: #e7e7ef;
    vertical-align: top;
}

.oddrow {
    background-color: #f7f7ff;
    vertical-align: top;
}

.headrow {
    background-color: #97979f;
    color: #ffffff;
    vertical-align: top;
}

.logorow {
    vertical-align: top;
}

.error {
    color: red;
}

.var {
    font-style: italic
}

.halconoperator {
    font-family: monospace, monospace;
}

span.operator {
    font-family: monospace, monospace;
}

span.procedure {
    font-family: monospace, monospace;
}

span.operation {
    font-family: monospace, monospace;
}

span.feature {
    font-family: Arial, Helvetica, Homerton, sans-serif;
}

ul {
    padding-left: 1.2em;
}

li.dot {
    list-style-type: square;
    color: #f28d26;
}

.breadcrumb {
    font-size: 80%;
    color: white;
    background-color: #062d64;
    margin-bottom: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 15px;
}

.webbar {
    font-size: 80%;
    background-color: #dddddd;
    margin-top: 0px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dashed #f28d26;
    font-size: 80%;
    color: #666666;
    padding-bottom: 8px;
}

.footer .socialmedia a {
    padding-left: 7px;
}

.socialmedia {
    padding-top: 10px;
}

.copyright {
    margin-top: 19px;
}

.breadcrumb a {
    color: #ffffff;
    border-bottom: 1px solid white;
}

.breadcrumb a:link:hover,
.breadcrumb a:visited:hover {
    text-decoration: none;
    border-bottom: none;
}

.heading {
    margin-top: 1ex;
    font-size: 110%;
    font-weight: bold;
    color: #666666;
}

.text {
    color: black;
}

.example {
    font-size: 80%;
    background-color: #f3f3f3;
    border: 1px dashed #666666;
    padding: 10px;
}

.displaymath {
    display: block;
    text-align: center;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.title {
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}

.signnote {
    font-family: Arial, Helvetica, Homerton, sans-serif;
    font-size: 80%;
    color: #666666;
    font-weight: lighter;
    font-style: italic
}

.par {
    margin-bottom: 1.5em;
}

.parhead {
    text-align: right;
}

.parname {
    float: left;
}

.pardesc {
    font-size: 85%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2em;
}

.parcat {
    color: #666;
    font-weight: bold;
}

*[data-if=cpp],
*[data-if=c],
*[data-if=dotnet],
*[data-if=com],
*[data-if=python] {
    display: none;
}

.tabbar {
    text-align: right;
    border-bottom: 1px solid #f28d26;
    margin-bottom: 0.5em;
}

ul.tabs {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 80%
}

ul.tabs li {
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    margin-left: 8px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

ul.tabs li.active {
    border-left: 1px solid #f28d26;
    border-right: 1px solid #f28d26;
    border-top: 1px solid #f28d26;
    border-bottom: 1px solid #fff;
}

ul.tabs li.inactive {
    background-color: #eee;
}

ul.tabs li a {
    padding-left: 5px;
    padding-right: 5px;
    color: #666;
}

ul.tabs li a:link:hover {
    text-decoration: none;
}

ul.tabs li.inactive a {
    color: #666;
}

ul.tabs li.active a {
    color: black;
}

dl.generic dd {
    margin-bottom: 1em;
}

.pari {
    color: olive;
}

.paro {
    color: maroon;
}

.comment {
    font-size: 80%;
    color: green;
    white-space: nowrap;
}

table.grid {
    border-collapse: collapse;
}

table.grid td {
    padding: 5px;
    border: 1px solid;
}

table.layout {
    border: 0px;
}

table.layout td {
    padding: 5px;
}

table.table {
    border-collapse: collapse;
}

table.table td {
    padding: 5px;
    border-left: 0px;
    border-right: 0px;
}

table.table tr:last-child {
    border-bottom: 1px solid;
}

table.table th {
    padding: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 0px;
    border-right: 0px;
}

.details_summary {
    cursor: pointer;
}

table.toctable {
    width: 100%;
}

table.toctable col:first-child {
    width: 20%;
}

table.toctable col:nth-last-child(2) {
    width: 8%;
}

table.altcolored tr:nth-child(even) {
    background-color: #f3f3f3;
}

    </style>
<!--OP_REF_STYLE_END-->
<script>
    <!--
var active_lang='hdevelop';function switchVisibility(obj,active_lang,new_lang)
{var display_style='inline';
for(var i=0;i<obj.length;i++)
{if(obj.item(i).getAttribute('data-if')==new_lang)
{obj.item(i).style.display=display_style;}
if(obj.item(i).getAttribute('data-if')==active_lang)
{obj.item(i).style.display='none';}}
return;}
function toggleLanguage(new_lang,initial)
{if(active_lang!=new_lang)
{var lis=document.getElementsByTagName('li');for(var i=0;i<lis.length;i++)
{if(lis.item(i).id=='syn-'+new_lang)
{lis.item(i).className='active';}
else
{lis.item(i).className='inactive';}}
var divs=document.getElementsByTagName('div');var spans=document.getElementsByTagName('span');switchVisibility(divs,active_lang,new_lang);switchVisibility(spans,active_lang,new_lang);if(!initial)
{setCookie("halcon_reference_language",new_lang,null,null);}
active_lang=new_lang;}
return;}
function setCookie(name,value,domain,exp_offset,path,secure)
{localStorage.setItem(name,value);}
function getCookie(name)
{return localStorage.getItem(name);}
function initialize()
{var qs=location.href.split('?')[1];var qs_lang_raw=location.href.split('interface=')[1];var qs_lang;if(qs_lang_raw)
{qs_lang=qs_lang_raw.split('#')[0];}
var cookie_lang=getCookie("halcon_reference_language");var new_lang;if((qs_lang=="hdevelop")||(qs_lang=="dotnet")||(qs_lang=="python")||(qs_lang=="cpp")||(qs_lang=="c"))
{new_lang=qs_lang;setCookie("halcon_reference_language",new_lang,null,null);}
else if((cookie_lang=="hdevelop")||(cookie_lang=="dotnet")||(cookie_lang=="python")||(cookie_lang=="cpp")||(cookie_lang=="c"))
{new_lang=cookie_lang;}
else
{new_lang="hdevelop";}
toggleLanguage(new_lang,1);return;}
-->

  </script>
</head>
<body onload="initialize();">
<div class="breadcrumb">
<br class="inv"><a href="index.html">目录</a> / <a href="toc_graphics.html">图形</a> / <a href="toc_graphics_parameters.html">参数表</a><br class="inv">
</div>
<div class="body_main">
<div class="tabbar"><ul class="tabs">
<li id="syn-hdevelop" class="active"><a href="javascript:void(0);" onclick="toggleLanguage('hdevelop')" onfocus="blur()">HDevelop</a></li>
<li id="syn-dotnet" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('dotnet')" onfocus="blur()">.NET</a></li>
<li id="syn-python" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('python')" onfocus="blur()">Python</a></li>
<li id="syn-cpp" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('cpp')" onfocus="blur()">C++</a></li>
<li id="syn-c" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('c')" onfocus="blur()">C</a></li>
</ul></div>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<!--OP_REF_HEADER_END-->
<h1 id="sec_name">
<span data-if="hdevelop" style="display:inline;">set_window_param</span><span data-if="c" style="display:none;">T_set_window_param</span><span data-if="cpp" style="display:none;">SetWindowParam</span><span data-if="dotnet" style="display:none;">SetWindowParam</span><span data-if="python" style="display:none;">set_window_param</span> (算子名称)</h1>
<h2>名称</h2>
<p><code><span data-if="hdevelop" style="display:inline;">set_window_param</span><span data-if="c" style="display:none;">T_set_window_param</span><span data-if="cpp" style="display:none;">SetWindowParam</span><span data-if="dotnet" style="display:none;">SetWindowParam</span><span data-if="python" style="display:none;">set_window_param</span></code> — Set window parameters.</p>
<h2 id="sec_synopsis">参数签名</h2>
<div data-if="hdevelop" style="display:inline;">
<p>
<code><b>set_window_param</b>( :  : <a href="#WindowHandle"><i>WindowHandle</i></a>, <a href="#Param"><i>Param</i></a>, <a href="#Value"><i>Value</i></a> : )</code></p>
</div>
<div data-if="c" style="display:none;">
<p>
<code>Herror <b>T_set_window_param</b>(const Htuple <a href="#WindowHandle"><i>WindowHandle</i></a>, const Htuple <a href="#Param"><i>Param</i></a>, const Htuple <a href="#Value"><i>Value</i></a>)</code></p>
</div>
<div data-if="cpp" style="display:none;">
<p>
<code>void <b>SetWindowParam</b>(const HTuple&amp; <a href="#WindowHandle"><i>WindowHandle</i></a>, const HTuple&amp; <a href="#Param"><i>Param</i></a>, const HTuple&amp; <a href="#Value"><i>Value</i></a>)</code></p>
<p>
<code>void <a href="HWindow.html">HWindow</a>::<b>SetWindowParam</b>(const HString&amp; <a href="#Param"><i>Param</i></a>, const HTuple&amp; <a href="#Value"><i>Value</i></a>) const</code></p>
<p>
<code>void <a href="HWindow.html">HWindow</a>::<b>SetWindowParam</b>(const HString&amp; <a href="#Param"><i>Param</i></a>, const HString&amp; <a href="#Value"><i>Value</i></a>) const</code></p>
<p>
<code>void <a href="HWindow.html">HWindow</a>::<b>SetWindowParam</b>(const char* <a href="#Param"><i>Param</i></a>, const char* <a href="#Value"><i>Value</i></a>) const</code></p>
<p>
<code>void <a href="HWindow.html">HWindow</a>::<b>SetWindowParam</b>(const wchar_t* <a href="#Param"><i>Param</i></a>, const wchar_t* <a href="#Value"><i>Value</i></a>) const  <span class="signnote">
            (
            Windows only)
          </span></code></p>
</div>
<div data-if="com" style="display:none;"></div>
<div data-if="dotnet" style="display:none;">
<p>
<code>static void <a href="HOperatorSet.html">HOperatorSet</a>.<b>SetWindowParam</b>(<a href="HTuple.html">HTuple</a> <a href="#WindowHandle"><i>windowHandle</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Param"><i>param</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Value"><i>value</i></a>)</code></p>
<p>
<code>void <a href="HWindow.html">HWindow</a>.<b>SetWindowParam</b>(string <a href="#Param"><i>param</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Value"><i>value</i></a>)</code></p>
<p>
<code>void <a href="HWindow.html">HWindow</a>.<b>SetWindowParam</b>(string <a href="#Param"><i>param</i></a>, string <a href="#Value"><i>value</i></a>)</code></p>
</div>
<div data-if="python" style="display:none;">
<p>
<code>def <b>set_window_param</b>(<a href="#WindowHandle"><i>window_handle</i></a>: HHandle, <a href="#Param"><i>param</i></a>: str, <a href="#Value"><i>value</i></a>: MaybeSequence[Union[str, float, int]]) -&gt; None</code></p>
</div>
<h2 id="sec_description">描述</h2>
<p>该算子 <code><span data-if="hdevelop" style="display:inline">set_window_param</span><span data-if="c" style="display:none">set_window_param</span><span data-if="cpp" style="display:none">SetWindowParam</span><span data-if="com" style="display:none">SetWindowParam</span><span data-if="dotnet" style="display:none">SetWindowParam</span><span data-if="python" style="display:none">set_window_param</span></code> allows setting different parameters
of an open window.
</p>
<p>General window parameters:
</p>
<dl class="generic">


<dt><b>'flush'</b></dt>
<dd>
<p>

Enables or disables flushing the contents of the window after the display
of every object. If <i><span data-if="hdevelop" style="display:inline">'flush'</span><span data-if="c" style="display:none">"flush"</span><span data-if="cpp" style="display:none">"flush"</span><span data-if="com" style="display:none">"flush"</span><span data-if="dotnet" style="display:none">"flush"</span><span data-if="python" style="display:none">"flush"</span></i> is set to <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>,
<a href="flush_buffer.html"><code><span data-if="hdevelop" style="display:inline">flush_buffer</span><span data-if="c" style="display:none">flush_buffer</span><span data-if="cpp" style="display:none">FlushBuffer</span><span data-if="com" style="display:none">FlushBuffer</span><span data-if="dotnet" style="display:none">FlushBuffer</span><span data-if="python" style="display:none">flush_buffer</span></code></a> must be called to update the contents of the window.
If you want to interact with the content of the graphics window
(e.g., zoom or move the content), you have to set <i><span data-if="hdevelop" style="display:inline">'flush'</span><span data-if="c" style="display:none">"flush"</span><span data-if="cpp" style="display:none">"flush"</span><span data-if="com" style="display:none">"flush"</span><span data-if="dotnet" style="display:none">"flush"</span><span data-if="python" style="display:none">"flush"</span></i> to
<i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>, <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>.
</p>
</dd>

<dt><b>'region_quality'</b></dt>
<dd>
<p>

Influences the quality of the rendering of region objects. Especially if
the region to display has to be scaled down for visualization,
<i><span data-if="hdevelop" style="display:inline">'good'</span><span data-if="c" style="display:none">"good"</span><span data-if="cpp" style="display:none">"good"</span><span data-if="com" style="display:none">"good"</span><span data-if="dotnet" style="display:none">"good"</span><span data-if="python" style="display:none">"good"</span></i> produces a more accurate and pleasing impression.
<i><span data-if="hdevelop" style="display:inline">'low'</span><span data-if="c" style="display:none">"low"</span><span data-if="cpp" style="display:none">"low"</span><span data-if="com" style="display:none">"low"</span><span data-if="dotnet" style="display:none">"low"</span><span data-if="python" style="display:none">"low"</span></i> is a bit inaccurate in these cases but significantly
faster. If only the border of the region is displayed
(see <a href="set_draw.html"><code><span data-if="hdevelop" style="display:inline">set_draw</span><span data-if="c" style="display:none">set_draw</span><span data-if="cpp" style="display:none">SetDraw</span><span data-if="com" style="display:none">SetDraw</span><span data-if="dotnet" style="display:none">SetDraw</span><span data-if="python" style="display:none">set_draw</span></code></a>), the fractional part of the line width
(see <a href="set_line_width.html"><code><span data-if="hdevelop" style="display:inline">set_line_width</span><span data-if="c" style="display:none">set_line_width</span><span data-if="cpp" style="display:none">SetLineWidth</span><span data-if="com" style="display:none">SetLineWidth</span><span data-if="dotnet" style="display:none">SetLineWidth</span><span data-if="python" style="display:none">set_line_width</span></code></a>) is ignored.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'low'</span><span data-if="c" style="display:none">"low"</span><span data-if="cpp" style="display:none">"low"</span><span data-if="com" style="display:none">"low"</span><span data-if="dotnet" style="display:none">"low"</span><span data-if="python" style="display:none">"low"</span></i>, <i><span data-if="hdevelop" style="display:inline">'good'</span><span data-if="c" style="display:none">"good"</span><span data-if="cpp" style="display:none">"good"</span><span data-if="com" style="display:none">"good"</span><span data-if="dotnet" style="display:none">"good"</span><span data-if="python" style="display:none">"good"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'low'</span><span data-if="c" style="display:none">"low"</span><span data-if="cpp" style="display:none">"low"</span><span data-if="com" style="display:none">"low"</span><span data-if="dotnet" style="display:none">"low"</span><span data-if="python" style="display:none">"low"</span></i>.
</p>
</dd>

<dt><b>'background_color'</b></dt>
<dd>
<p>

Sets the background color of the window <a href="#WindowHandle"><i><code><span data-if="hdevelop" style="display:inline">WindowHandle</span><span data-if="c" style="display:none">WindowHandle</span><span data-if="cpp" style="display:none">WindowHandle</span><span data-if="com" style="display:none">WindowHandle</span><span data-if="dotnet" style="display:none">windowHandle</span><span data-if="python" style="display:none">window_handle</span></code></i></a>. The
operator <a href="clear_window.html"><code><span data-if="hdevelop" style="display:inline">clear_window</span><span data-if="c" style="display:none">clear_window</span><span data-if="cpp" style="display:none">ClearWindow</span><span data-if="com" style="display:none">ClearWindow</span><span data-if="dotnet" style="display:none">ClearWindow</span><span data-if="python" style="display:none">clear_window</span></code></a> uses this color to clear the window.</p>
<p>
<i>Possible values:</i> a string containing the color name
(e.g., <i><span data-if="hdevelop" style="display:inline">'black'</span><span data-if="c" style="display:none">"black"</span><span data-if="cpp" style="display:none">"black"</span><span data-if="com" style="display:none">"black"</span><span data-if="dotnet" style="display:none">"black"</span><span data-if="python" style="display:none">"black"</span></i>, <i><span data-if="hdevelop" style="display:inline">'red'</span><span data-if="c" style="display:none">"red"</span><span data-if="cpp" style="display:none">"red"</span><span data-if="com" style="display:none">"red"</span><span data-if="dotnet" style="display:none">"red"</span><span data-if="python" style="display:none">"red"</span></i>).
</p>
</dd>

<dt><b>'window_title'</b></dt>
<dd>
<p>

Allows changing the text in the title bar of an already opened HALCON
window.</p>
<p>
Note that you cannot set <i><span data-if="hdevelop" style="display:inline">'window_title'</span><span data-if="c" style="display:none">"window_title"</span><span data-if="cpp" style="display:none">"window_title"</span><span data-if="com" style="display:none">"window_title"</span><span data-if="dotnet" style="display:none">"window_title"</span><span data-if="python" style="display:none">"window_title"</span></i> for buffer windows.
This restriction also applies to HDevelop windows, that is windows opened
via <code>dev_open_window</code>, which are in fact buffer windows.</p>
<p>
<i>Possible values:</i> a string containing up to 1023 characters.
</p>
</dd>

<dt><b>'anti_aliasing'</b></dt>
<dd>
<p>

Enables or disables the anti aliasing of contours and regions.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>, <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>.
</p>
</dd>

<dt><b>'graphics_stack'</b></dt>
<dd>
<p>

Enables or disables the graphics stack of a window. With
activated graphics stack changing the window part with <a href="set_part.html"><code><span data-if="hdevelop" style="display:inline">set_part</span><span data-if="c" style="display:none">set_part</span><span data-if="cpp" style="display:none">SetPart</span><span data-if="com" style="display:none">SetPart</span><span data-if="dotnet" style="display:none">SetPart</span><span data-if="python" style="display:none">set_part</span></code></a>
triggers the display of previously displayed objects with respect to
the new part. With this it is possible to move or scale the contents of
the window. This parameter has no effect on the graphics stack of a
HDevelop graphics window.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>, <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.
</p>
</dd>

<dt><b>'graphics_stack_max_element_num'</b></dt>
<dd>
<p>

Maximum number of elements in the graphics stack. This number corresponds
to the number of display operations recorded. This parameter has no effect
on the graphics stack of a
HDevelop graphics window and is effective not before the next call to a
display operator.</p>
<p>
<i>Possible values:</i> positive number or <i><span data-if="hdevelop" style="display:inline">'unlimited'</span><span data-if="c" style="display:none">"unlimited"</span><span data-if="cpp" style="display:none">"unlimited"</span><span data-if="com" style="display:none">"unlimited"</span><span data-if="dotnet" style="display:none">"unlimited"</span><span data-if="python" style="display:none">"unlimited"</span></i>.</p>
<p>
<i>Default:</i> <i>50</i>.
</p>
</dd>

<dt><b>'graphics_stack_max_memory_size'</b></dt>
<dd>
<p>

Limits the memory consumption of the graphics stack. If this limit is
exceeded, older display operations are removed from the graphics stack.
This parameter has no effect on the graphics stack of a HDevelop
graphics window and is effective not before the next call to a
display operator.</p>
<p>
<i>Possible values:</i> memory limit in bytes or <i><span data-if="hdevelop" style="display:inline">'unlimited'</span><span data-if="c" style="display:none">"unlimited"</span><span data-if="cpp" style="display:none">"unlimited"</span><span data-if="com" style="display:none">"unlimited"</span><span data-if="dotnet" style="display:none">"unlimited"</span><span data-if="python" style="display:none">"unlimited"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'unlimited'</span><span data-if="c" style="display:none">"unlimited"</span><span data-if="cpp" style="display:none">"unlimited"</span><span data-if="com" style="display:none">"unlimited"</span><span data-if="dotnet" style="display:none">"unlimited"</span><span data-if="python" style="display:none">"unlimited"</span></i>.
</p>
</dd>

<dt><b>'pixel_grid_enable'</b></dt>
<dd>
<p>

Enables or disables the pixel grid. If the pixel grid is activated, a grid
is drawn around the displayed pixels as soon as the image part is enlarged
sufficiently (see <i><span data-if="hdevelop" style="display:inline">'pixel_grid_min_resolution'</span><span data-if="c" style="display:none">"pixel_grid_min_resolution"</span><span data-if="cpp" style="display:none">"pixel_grid_min_resolution"</span><span data-if="com" style="display:none">"pixel_grid_min_resolution"</span><span data-if="dotnet" style="display:none">"pixel_grid_min_resolution"</span><span data-if="python" style="display:none">"pixel_grid_min_resolution"</span></i>). This
parameter is effective as soon as the window content is updated.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>, <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Restriction:</i> Has no effect, when the HDevelop option
<code>Pixel Grid</code> is enabled.
</p>
</dd>

<dt><b>'pixel_grid_min_resolution'</b></dt>
<dd>
<p>

Specifies the minimum required resolution of an image pixel in the
graphics window which is necessary for the pixel grid to be drawn. This
parameter has an effect only if <i><span data-if="hdevelop" style="display:inline">'pixel_grid_enable'</span><span data-if="c" style="display:none">"pixel_grid_enable"</span><span data-if="cpp" style="display:none">"pixel_grid_enable"</span><span data-if="com" style="display:none">"pixel_grid_enable"</span><span data-if="dotnet" style="display:none">"pixel_grid_enable"</span><span data-if="python" style="display:none">"pixel_grid_enable"</span></i> has been set
to <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>. Assuming this value is set to <i>20</i>, the pixel
grid will be visible as soon as a pixel in the displayed image part
takes up at least <i>20</i> x <i>20</i> pixels in the graphics window.
Furthermore, this parameter is effective as soon as the window content is
updated.</p>
<p>
<i>Possible values:</i> Positive integer.</p>
<p>
<i>Default:</i> <i>20</i>.
</p>
</dd>

<dt><b>'pixel_grid_color'</b></dt>
<dd>
<p>

Specifies the color of the lines of the pixel grid. This parameter has an
effect only if <i><span data-if="hdevelop" style="display:inline">'pixel_grid_enable'</span><span data-if="c" style="display:none">"pixel_grid_enable"</span><span data-if="cpp" style="display:none">"pixel_grid_enable"</span><span data-if="com" style="display:none">"pixel_grid_enable"</span><span data-if="dotnet" style="display:none">"pixel_grid_enable"</span><span data-if="python" style="display:none">"pixel_grid_enable"</span></i> has been set to
<i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>. Furthermore, this parameter is effective as soon as the
window content is updated.</p>
<p>
<i>Possible values:</i> Color value, see <a href="set_color.html"><code><span data-if="hdevelop" style="display:inline">set_color</span><span data-if="c" style="display:none">set_color</span><span data-if="cpp" style="display:none">SetColor</span><span data-if="com" style="display:none">SetColor</span><span data-if="dotnet" style="display:none">SetColor</span><span data-if="python" style="display:none">set_color</span></code></a> for an
overview.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'#696969c0'</span><span data-if="c" style="display:none">"#696969c0"</span><span data-if="cpp" style="display:none">"#696969c0"</span><span data-if="com" style="display:none">"#696969c0"</span><span data-if="dotnet" style="display:none">"#696969c0"</span><span data-if="python" style="display:none">"#696969c0"</span></i>.</p>
<p>
<i>Restriction:</i> Has no effect, when the HDevelop option
<code>Pixel Grid</code> is enabled.
</p>
</dd>

<dt><b>'pixel_grid_line_width'</b></dt>
<dd>
<p>

Specifies the line width in pixels that is used to display the lines of
the pixel grid. This parameter has an effect only if
<i><span data-if="hdevelop" style="display:inline">'pixel_grid_enable'</span><span data-if="c" style="display:none">"pixel_grid_enable"</span><span data-if="cpp" style="display:none">"pixel_grid_enable"</span><span data-if="com" style="display:none">"pixel_grid_enable"</span><span data-if="dotnet" style="display:none">"pixel_grid_enable"</span><span data-if="python" style="display:none">"pixel_grid_enable"</span></i> has been set to <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>. Furthermore,
this parameter is effective as soon as the window content is updated.</p>
<p>
<i>Value range:</i> [<i>1.0</i>, <i>2000.0</i>].</p>
<p>
<i>Default:</i> <i>1.0</i>.
</p>
</dd>
</dl>
<p>Parameters concerning the <i><span data-if="hdevelop" style="display:inline">'3d_plot'</span><span data-if="c" style="display:none">"3d_plot"</span><span data-if="cpp" style="display:none">"3d_plot"</span><span data-if="com" style="display:none">"3d_plot"</span><span data-if="dotnet" style="display:none">"3d_plot"</span><span data-if="python" style="display:none">"3d_plot"</span></i> (see <a href="set_paint.html"><code><span data-if="hdevelop" style="display:inline">set_paint</span><span data-if="c" style="display:none">set_paint</span><span data-if="cpp" style="display:none">SetPaint</span><span data-if="com" style="display:none">SetPaint</span><span data-if="dotnet" style="display:none">SetPaint</span><span data-if="python" style="display:none">set_paint</span></code></a>):
</p>
<dl class="generic">

<dt><b>'angle_of_view'</b></dt>
<dd>
<p>

Set the angle of view of the virtual camera used to display the 3D plot.
The angle must be provided in radians and lie within the interval
[0,PI). An angle of 0 radians implies orthogonal projection. Another
way to choose orthogonal projection is to set <i><span data-if="hdevelop" style="display:inline">'angle_of_view'</span><span data-if="c" style="display:none">"angle_of_view"</span><span data-if="cpp" style="display:none">"angle_of_view"</span><span data-if="com" style="display:none">"angle_of_view"</span><span data-if="dotnet" style="display:none">"angle_of_view"</span><span data-if="python" style="display:none">"angle_of_view"</span></i>
to <i><span data-if="hdevelop" style="display:inline">'orthogonal'</span><span data-if="c" style="display:none">"orthogonal"</span><span data-if="cpp" style="display:none">"orthogonal"</span><span data-if="com" style="display:none">"orthogonal"</span><span data-if="dotnet" style="display:none">"orthogonal"</span><span data-if="python" style="display:none">"orthogonal"</span></i>.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'orthogonal'</span><span data-if="c" style="display:none">"orthogonal"</span><span data-if="cpp" style="display:none">"orthogonal"</span><span data-if="com" style="display:none">"orthogonal"</span><span data-if="dotnet" style="display:none">"orthogonal"</span><span data-if="python" style="display:none">"orthogonal"</span></i> or an angle in radians.</p>
<p>
<i>Default:</i> <i>1.22173</i> (70 degrees).
</p>
</dd>

<dt><b>'axis_captions'</b></dt>
<dd>
<p>

The axis captions for row, column, and height can be set by passing a
tuple containing the strings for the captions in the specified order row,
column, and height axis, (e.g., ['row','col','height']). Pass empty strings
to display no captions at all.</p>
<p>
<i>Possible values:</i> A tuple containing three strings. Each string can
contain up to 31 characters.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">[' ',' ',' ']</span><span data-if="c" style="display:none">[" "," "," "]</span><span data-if="cpp" style="display:none">[" "," "," "]</span><span data-if="com" style="display:none">[" "," "," "]</span><span data-if="dotnet" style="display:none">[" "," "," "]</span><span data-if="python" style="display:none">[" "," "," "]</span></i>.
</p>
</dd>

<dt><b>'caption_color'</b></dt>
<dd>
<p>

The color of the axis captions for row, column, and height. You can
either pass one color for all three axes or a tuple of three colors
to set individual colors for each axis.</p>
<p>
<i>Possible values:</i> a string or tuple with three strings containing the
color name (e.g., <i><span data-if="hdevelop" style="display:inline">'black'</span><span data-if="c" style="display:none">"black"</span><span data-if="cpp" style="display:none">"black"</span><span data-if="com" style="display:none">"black"</span><span data-if="dotnet" style="display:none">"black"</span><span data-if="python" style="display:none">"black"</span></i>, <i><span data-if="hdevelop" style="display:inline">'red'</span><span data-if="c" style="display:none">"red"</span><span data-if="cpp" style="display:none">"red"</span><span data-if="com" style="display:none">"red"</span><span data-if="dotnet" style="display:none">"red"</span><span data-if="python" style="display:none">"red"</span></i>).</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'black'</span><span data-if="c" style="display:none">"black"</span><span data-if="cpp" style="display:none">"black"</span><span data-if="com" style="display:none">"black"</span><span data-if="dotnet" style="display:none">"black"</span><span data-if="python" style="display:none">"black"</span></i>.
</p>
</dd>

<dt><b>'plot_quality'</b></dt>
<dd>
<p>

Influences the quality of the 3D plot. Depending on the capabilities of
your graphics card better settings for the quality may reduce the
frame rate of the 3D plot significantly.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'low'</span><span data-if="c" style="display:none">"low"</span><span data-if="cpp" style="display:none">"low"</span><span data-if="com" style="display:none">"low"</span><span data-if="dotnet" style="display:none">"low"</span><span data-if="python" style="display:none">"low"</span></i>, <i><span data-if="hdevelop" style="display:inline">'medium'</span><span data-if="c" style="display:none">"medium"</span><span data-if="cpp" style="display:none">"medium"</span><span data-if="com" style="display:none">"medium"</span><span data-if="dotnet" style="display:none">"medium"</span><span data-if="python" style="display:none">"medium"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'good'</span><span data-if="c" style="display:none">"good"</span><span data-if="cpp" style="display:none">"good"</span><span data-if="com" style="display:none">"good"</span><span data-if="dotnet" style="display:none">"good"</span><span data-if="python" style="display:none">"good"</span></i>, <i><span data-if="hdevelop" style="display:inline">'best'</span><span data-if="c" style="display:none">"best"</span><span data-if="cpp" style="display:none">"best"</span><span data-if="com" style="display:none">"best"</span><span data-if="dotnet" style="display:none">"best"</span><span data-if="python" style="display:none">"best"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'medium'</span><span data-if="c" style="display:none">"medium"</span><span data-if="cpp" style="display:none">"medium"</span><span data-if="com" style="display:none">"medium"</span><span data-if="dotnet" style="display:none">"medium"</span><span data-if="python" style="display:none">"medium"</span></i>.
</p>
</dd>

<dt><b>'scale_plot'</b></dt>
<dd>
<p>

If set to <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i> the height values of an image are transformed into
the interval [0,255] before display. If set to 'false' the aspect ratio
between row/column and height is considered. Images of the type byte,
cyclic, or direction are not scaled, i.e. in their cases this parameter is
ignored.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>, <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>.
</p>
</dd>

<dt><b>'display_grid'</b></dt>
<dd>
<p>

If set to <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i> a grid is displayed at height 0.</p>
<p>
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>, <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>.
</p>
</dd>

<dt><b>'display_axes'</b></dt>
<dd>
<p>

If set to <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i> coordinate axes are displayed.
<i>Possible values:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>, <i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>.</p>
<p>
<i>Default:</i> <i><span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span></i>.
</p>
</dd>
</dl>
<h2 id="sec_attention">注意</h2>
<p>The parameters <i><span data-if="hdevelop" style="display:inline">'anti_aliasing'</span><span data-if="c" style="display:none">"anti_aliasing"</span><span data-if="cpp" style="display:none">"anti_aliasing"</span><span data-if="com" style="display:none">"anti_aliasing"</span><span data-if="dotnet" style="display:none">"anti_aliasing"</span><span data-if="python" style="display:none">"anti_aliasing"</span></i>, <i><span data-if="hdevelop" style="display:inline">'flush'</span><span data-if="c" style="display:none">"flush"</span><span data-if="cpp" style="display:none">"flush"</span><span data-if="com" style="display:none">"flush"</span><span data-if="dotnet" style="display:none">"flush"</span><span data-if="python" style="display:none">"flush"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'graphics_stack'</span><span data-if="c" style="display:none">"graphics_stack"</span><span data-if="cpp" style="display:none">"graphics_stack"</span><span data-if="com" style="display:none">"graphics_stack"</span><span data-if="dotnet" style="display:none">"graphics_stack"</span><span data-if="python" style="display:none">"graphics_stack"</span></i>, <i><span data-if="hdevelop" style="display:inline">'graphics_stack_max_element_num'</span><span data-if="c" style="display:none">"graphics_stack_max_element_num"</span><span data-if="cpp" style="display:none">"graphics_stack_max_element_num"</span><span data-if="com" style="display:none">"graphics_stack_max_element_num"</span><span data-if="dotnet" style="display:none">"graphics_stack_max_element_num"</span><span data-if="python" style="display:none">"graphics_stack_max_element_num"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'graphics_stack_max_memory_size'</span><span data-if="c" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="cpp" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="com" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="dotnet" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="python" style="display:none">"graphics_stack_max_memory_size"</span></i>, and <i><span data-if="hdevelop" style="display:inline">'region_quality'</span><span data-if="c" style="display:none">"region_quality"</span><span data-if="cpp" style="display:none">"region_quality"</span><span data-if="com" style="display:none">"region_quality"</span><span data-if="dotnet" style="display:none">"region_quality"</span><span data-if="python" style="display:none">"region_quality"</span></i>
depend on the library libcanvas, which might not be available on embedded
systems.
</p>
<p>The parameter <i><span data-if="hdevelop" style="display:inline">'window_title'</span><span data-if="c" style="display:none">"window_title"</span><span data-if="cpp" style="display:none">"window_title"</span><span data-if="com" style="display:none">"window_title"</span><span data-if="dotnet" style="display:none">"window_title"</span><span data-if="python" style="display:none">"window_title"</span></i> cannot be set for buffer windows.
</p>
<h2 id="sec_execution">运行信息</h2>
<ul>
  <li>多线程类型:可重入(与非独占操作符并行运行)。</li>
<li>多线程作用域:全局(可以从任何线程调用)。</li>
  <li>未经并行化处理。</li>
</ul>
<h2 id="sec_parameters">参数表</h2>
  <div class="par">
<div class="parhead">
<span id="WindowHandle" class="parname"><b><code><span data-if="hdevelop" style="display:inline">WindowHandle</span><span data-if="c" style="display:none">WindowHandle</span><span data-if="cpp" style="display:none">WindowHandle</span><span data-if="com" style="display:none">WindowHandle</span><span data-if="dotnet" style="display:none">windowHandle</span><span data-if="python" style="display:none">window_handle</span></code></b> (input_control)  </span><span>window <code>→</code> <span data-if="dotnet" style="display:none"><a href="HWindow.html">HWindow</a>, </span><span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">HHandle</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (handle)</span><span data-if="dotnet" style="display:none"> (<i>IntPtr</i>)</span><span data-if="cpp" style="display:none"> (<i>HHandle</i>)</span><span data-if="c" style="display:none"> (<i>handle</i>)</span></span>
</div>
<p class="pardesc">Window handle.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="Param" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Param</span><span data-if="c" style="display:none">Param</span><span data-if="cpp" style="display:none">Param</span><span data-if="com" style="display:none">Param</span><span data-if="dotnet" style="display:none">param</span><span data-if="python" style="display:none">param</span></code></b> (input_control)  </span><span>string <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">str</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Name of the parameter.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'flush'</span>
    <span data-if="c" style="display:none">"flush"</span>
    <span data-if="cpp" style="display:none">"flush"</span>
    <span data-if="com" style="display:none">"flush"</span>
    <span data-if="dotnet" style="display:none">"flush"</span>
    <span data-if="python" style="display:none">"flush"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'angle_of_view'</span><span data-if="c" style="display:none">"angle_of_view"</span><span data-if="cpp" style="display:none">"angle_of_view"</span><span data-if="com" style="display:none">"angle_of_view"</span><span data-if="dotnet" style="display:none">"angle_of_view"</span><span data-if="python" style="display:none">"angle_of_view"</span>, <span data-if="hdevelop" style="display:inline">'anti_aliasing'</span><span data-if="c" style="display:none">"anti_aliasing"</span><span data-if="cpp" style="display:none">"anti_aliasing"</span><span data-if="com" style="display:none">"anti_aliasing"</span><span data-if="dotnet" style="display:none">"anti_aliasing"</span><span data-if="python" style="display:none">"anti_aliasing"</span>, <span data-if="hdevelop" style="display:inline">'axis_captions'</span><span data-if="c" style="display:none">"axis_captions"</span><span data-if="cpp" style="display:none">"axis_captions"</span><span data-if="com" style="display:none">"axis_captions"</span><span data-if="dotnet" style="display:none">"axis_captions"</span><span data-if="python" style="display:none">"axis_captions"</span>, <span data-if="hdevelop" style="display:inline">'background_color'</span><span data-if="c" style="display:none">"background_color"</span><span data-if="cpp" style="display:none">"background_color"</span><span data-if="com" style="display:none">"background_color"</span><span data-if="dotnet" style="display:none">"background_color"</span><span data-if="python" style="display:none">"background_color"</span>, <span data-if="hdevelop" style="display:inline">'caption_color'</span><span data-if="c" style="display:none">"caption_color"</span><span data-if="cpp" style="display:none">"caption_color"</span><span data-if="com" style="display:none">"caption_color"</span><span data-if="dotnet" style="display:none">"caption_color"</span><span data-if="python" style="display:none">"caption_color"</span>, <span data-if="hdevelop" style="display:inline">'display_axes'</span><span data-if="c" style="display:none">"display_axes"</span><span data-if="cpp" style="display:none">"display_axes"</span><span data-if="com" style="display:none">"display_axes"</span><span data-if="dotnet" style="display:none">"display_axes"</span><span data-if="python" style="display:none">"display_axes"</span>, <span data-if="hdevelop" style="display:inline">'display_grid'</span><span data-if="c" style="display:none">"display_grid"</span><span data-if="cpp" style="display:none">"display_grid"</span><span data-if="com" style="display:none">"display_grid"</span><span data-if="dotnet" style="display:none">"display_grid"</span><span data-if="python" style="display:none">"display_grid"</span>, <span data-if="hdevelop" style="display:inline">'flush'</span><span data-if="c" style="display:none">"flush"</span><span data-if="cpp" style="display:none">"flush"</span><span data-if="com" style="display:none">"flush"</span><span data-if="dotnet" style="display:none">"flush"</span><span data-if="python" style="display:none">"flush"</span>, <span data-if="hdevelop" style="display:inline">'graphics_stack'</span><span data-if="c" style="display:none">"graphics_stack"</span><span data-if="cpp" style="display:none">"graphics_stack"</span><span data-if="com" style="display:none">"graphics_stack"</span><span data-if="dotnet" style="display:none">"graphics_stack"</span><span data-if="python" style="display:none">"graphics_stack"</span>, <span data-if="hdevelop" style="display:inline">'graphics_stack_max_element_num'</span><span data-if="c" style="display:none">"graphics_stack_max_element_num"</span><span data-if="cpp" style="display:none">"graphics_stack_max_element_num"</span><span data-if="com" style="display:none">"graphics_stack_max_element_num"</span><span data-if="dotnet" style="display:none">"graphics_stack_max_element_num"</span><span data-if="python" style="display:none">"graphics_stack_max_element_num"</span>, <span data-if="hdevelop" style="display:inline">'graphics_stack_max_memory_size'</span><span data-if="c" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="cpp" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="com" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="dotnet" style="display:none">"graphics_stack_max_memory_size"</span><span data-if="python" style="display:none">"graphics_stack_max_memory_size"</span>, <span data-if="hdevelop" style="display:inline">'pixel_grid_color'</span><span data-if="c" style="display:none">"pixel_grid_color"</span><span data-if="cpp" style="display:none">"pixel_grid_color"</span><span data-if="com" style="display:none">"pixel_grid_color"</span><span data-if="dotnet" style="display:none">"pixel_grid_color"</span><span data-if="python" style="display:none">"pixel_grid_color"</span>, <span data-if="hdevelop" style="display:inline">'pixel_grid_enable'</span><span data-if="c" style="display:none">"pixel_grid_enable"</span><span data-if="cpp" style="display:none">"pixel_grid_enable"</span><span data-if="com" style="display:none">"pixel_grid_enable"</span><span data-if="dotnet" style="display:none">"pixel_grid_enable"</span><span data-if="python" style="display:none">"pixel_grid_enable"</span>, <span data-if="hdevelop" style="display:inline">'pixel_grid_line_width'</span><span data-if="c" style="display:none">"pixel_grid_line_width"</span><span data-if="cpp" style="display:none">"pixel_grid_line_width"</span><span data-if="com" style="display:none">"pixel_grid_line_width"</span><span data-if="dotnet" style="display:none">"pixel_grid_line_width"</span><span data-if="python" style="display:none">"pixel_grid_line_width"</span>, <span data-if="hdevelop" style="display:inline">'pixel_grid_min_resolution'</span><span data-if="c" style="display:none">"pixel_grid_min_resolution"</span><span data-if="cpp" style="display:none">"pixel_grid_min_resolution"</span><span data-if="com" style="display:none">"pixel_grid_min_resolution"</span><span data-if="dotnet" style="display:none">"pixel_grid_min_resolution"</span><span data-if="python" style="display:none">"pixel_grid_min_resolution"</span>, <span data-if="hdevelop" style="display:inline">'plot_quality'</span><span data-if="c" style="display:none">"plot_quality"</span><span data-if="cpp" style="display:none">"plot_quality"</span><span data-if="com" style="display:none">"plot_quality"</span><span data-if="dotnet" style="display:none">"plot_quality"</span><span data-if="python" style="display:none">"plot_quality"</span>, <span data-if="hdevelop" style="display:inline">'region_quality'</span><span data-if="c" style="display:none">"region_quality"</span><span data-if="cpp" style="display:none">"region_quality"</span><span data-if="com" style="display:none">"region_quality"</span><span data-if="dotnet" style="display:none">"region_quality"</span><span data-if="python" style="display:none">"region_quality"</span>, <span data-if="hdevelop" style="display:inline">'scale_plot'</span><span data-if="c" style="display:none">"scale_plot"</span><span data-if="cpp" style="display:none">"scale_plot"</span><span data-if="com" style="display:none">"scale_plot"</span><span data-if="dotnet" style="display:none">"scale_plot"</span><span data-if="python" style="display:none">"scale_plot"</span>, <span data-if="hdevelop" style="display:inline">'window_title'</span><span data-if="c" style="display:none">"window_title"</span><span data-if="cpp" style="display:none">"window_title"</span><span data-if="com" style="display:none">"window_title"</span><span data-if="dotnet" style="display:none">"window_title"</span><span data-if="python" style="display:none">"window_title"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="Value" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Value</span><span data-if="c" style="display:none">Value</span><span data-if="cpp" style="display:none">Value</span><span data-if="com" style="display:none">Value</span><span data-if="dotnet" style="display:none">value</span><span data-if="python" style="display:none">value</span></code></b> (input_control)  </span><span>string(-array) <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">MaybeSequence[Union[str, float, int]]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string / </span><span data-if="hdevelop" style="display:inline">real / </span><span data-if="hdevelop" style="display:inline">integer)</span><span data-if="dotnet" style="display:none"> (<i>string</i> / </span><span data-if="dotnet" style="display:none">double / </span><span data-if="dotnet" style="display:none">int / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>HString</i> / </span><span data-if="cpp" style="display:none">double / </span><span data-if="cpp" style="display:none">Hlong)</span><span data-if="c" style="display:none"> (<i>char*</i> / </span><span data-if="c" style="display:none">double / </span><span data-if="c" style="display:none">Hlong)</span></span>
</div>
<p class="pardesc">Value to be set.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'false'</span>
    <span data-if="c" style="display:none">"false"</span>
    <span data-if="cpp" style="display:none">"false"</span>
    <span data-if="com" style="display:none">"false"</span>
    <span data-if="dotnet" style="display:none">"false"</span>
    <span data-if="python" style="display:none">"false"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'best'</span><span data-if="c" style="display:none">"best"</span><span data-if="cpp" style="display:none">"best"</span><span data-if="com" style="display:none">"best"</span><span data-if="dotnet" style="display:none">"best"</span><span data-if="python" style="display:none">"best"</span>, <span data-if="hdevelop" style="display:inline">'black'</span><span data-if="c" style="display:none">"black"</span><span data-if="cpp" style="display:none">"black"</span><span data-if="com" style="display:none">"black"</span><span data-if="dotnet" style="display:none">"black"</span><span data-if="python" style="display:none">"black"</span>, <span data-if="hdevelop" style="display:inline">'blue'</span><span data-if="c" style="display:none">"blue"</span><span data-if="cpp" style="display:none">"blue"</span><span data-if="com" style="display:none">"blue"</span><span data-if="dotnet" style="display:none">"blue"</span><span data-if="python" style="display:none">"blue"</span>, <span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span>, <span data-if="hdevelop" style="display:inline">'good'</span><span data-if="c" style="display:none">"good"</span><span data-if="cpp" style="display:none">"good"</span><span data-if="com" style="display:none">"good"</span><span data-if="dotnet" style="display:none">"good"</span><span data-if="python" style="display:none">"good"</span>, <span data-if="hdevelop" style="display:inline">'green'</span><span data-if="c" style="display:none">"green"</span><span data-if="cpp" style="display:none">"green"</span><span data-if="com" style="display:none">"green"</span><span data-if="dotnet" style="display:none">"green"</span><span data-if="python" style="display:none">"green"</span>, <span data-if="hdevelop" style="display:inline">'low'</span><span data-if="c" style="display:none">"low"</span><span data-if="cpp" style="display:none">"low"</span><span data-if="com" style="display:none">"low"</span><span data-if="dotnet" style="display:none">"low"</span><span data-if="python" style="display:none">"low"</span>, <span data-if="hdevelop" style="display:inline">'medium'</span><span data-if="c" style="display:none">"medium"</span><span data-if="cpp" style="display:none">"medium"</span><span data-if="com" style="display:none">"medium"</span><span data-if="dotnet" style="display:none">"medium"</span><span data-if="python" style="display:none">"medium"</span>, <span data-if="hdevelop" style="display:inline">'orthogonal'</span><span data-if="c" style="display:none">"orthogonal"</span><span data-if="cpp" style="display:none">"orthogonal"</span><span data-if="com" style="display:none">"orthogonal"</span><span data-if="dotnet" style="display:none">"orthogonal"</span><span data-if="python" style="display:none">"orthogonal"</span>, <span data-if="hdevelop" style="display:inline">'red'</span><span data-if="c" style="display:none">"red"</span><span data-if="cpp" style="display:none">"red"</span><span data-if="com" style="display:none">"red"</span><span data-if="dotnet" style="display:none">"red"</span><span data-if="python" style="display:none">"red"</span>, <span data-if="hdevelop" style="display:inline">'true'</span><span data-if="c" style="display:none">"true"</span><span data-if="cpp" style="display:none">"true"</span><span data-if="com" style="display:none">"true"</span><span data-if="dotnet" style="display:none">"true"</span><span data-if="python" style="display:none">"true"</span>, <span data-if="hdevelop" style="display:inline">'unlimited'</span><span data-if="c" style="display:none">"unlimited"</span><span data-if="cpp" style="display:none">"unlimited"</span><span data-if="com" style="display:none">"unlimited"</span><span data-if="dotnet" style="display:none">"unlimited"</span><span data-if="python" style="display:none">"unlimited"</span>, <span data-if="hdevelop" style="display:inline">'white'</span><span data-if="c" style="display:none">"white"</span><span data-if="cpp" style="display:none">"white"</span><span data-if="com" style="display:none">"white"</span><span data-if="dotnet" style="display:none">"white"</span><span data-if="python" style="display:none">"white"</span></p>
</div>
<h2 id="sec_predecessors">可能的前置算子</h2>
<p>
<code><a href="open_window.html"><span data-if="hdevelop" style="display:inline">open_window</span><span data-if="c" style="display:none">open_window</span><span data-if="cpp" style="display:none">OpenWindow</span><span data-if="com" style="display:none">OpenWindow</span><span data-if="dotnet" style="display:none">OpenWindow</span><span data-if="python" style="display:none">open_window</span></a></code>
</p>
<h2 id="sec_successors">可能的后置算子</h2>
<p>
<code><a href="disp_image.html"><span data-if="hdevelop" style="display:inline">disp_image</span><span data-if="c" style="display:none">disp_image</span><span data-if="cpp" style="display:none">DispImage</span><span data-if="com" style="display:none">DispImage</span><span data-if="dotnet" style="display:none">DispImage</span><span data-if="python" style="display:none">disp_image</span></a></code>
</p>
<h2 id="sec_see">参考其它</h2>
<p>
<code><a href="get_window_param.html"><span data-if="hdevelop" style="display:inline">get_window_param</span><span data-if="c" style="display:none">get_window_param</span><span data-if="cpp" style="display:none">GetWindowParam</span><span data-if="com" style="display:none">GetWindowParam</span><span data-if="dotnet" style="display:none">GetWindowParam</span><span data-if="python" style="display:none">get_window_param</span></a></code>, 
<code><a href="set_window_attr.html"><span data-if="hdevelop" style="display:inline">set_window_attr</span><span data-if="c" style="display:none">set_window_attr</span><span data-if="cpp" style="display:none">SetWindowAttr</span><span data-if="com" style="display:none">SetWindowAttr</span><span data-if="dotnet" style="display:none">SetWindowAttr</span><span data-if="python" style="display:none">set_window_attr</span></a></code>, 
<code><a href="set_part_style.html"><span data-if="hdevelop" style="display:inline">set_part_style</span><span data-if="c" style="display:none">set_part_style</span><span data-if="cpp" style="display:none">SetPartStyle</span><span data-if="com" style="display:none">SetPartStyle</span><span data-if="dotnet" style="display:none">SetPartStyle</span><span data-if="python" style="display:none">set_part_style</span></a></code>
</p>
<h2 id="sec_module">模块</h2>
<p>
Foundation</p>
<!--OP_REF_FOOTER_START-->
<hr>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<div class="footer">
<div class="copyright">HALCON算子参考手册 Copyright © 2015-2023 51Halcon</div>
</div>
</div>
</body>
</html>
